package cn.yili12.business.mq.handler;

import cn.yili12.business.config.SystemProperties;
import cn.yili12.business.mq.QueueProducer;
import cn.yili12.business.mq.bean.Message;
import cn.yili12.business.service.MessageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

@Slf4j
public class BaseHandler {

    @Autowired
    protected MessageService service;

    @Autowired
    protected QueueProducer producer;

    @Autowired
    protected SystemProperties properties;

    public boolean handler(Message message) {

        return true;
    }
}
